package com.bdmc;
import cn.dev33.satoken.SaManager;
import com.bdmc.framework.aspectj.DataScopeAspect;
import com.bdmc.framework.config.SaTokenConfig;
import com.bdmc.framework.config.SwaggerConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.FilterType;

@SpringBootApplication
@ComponentScan(excludeFilters = {
        @ComponentScan.Filter(type = FilterType.ASSIGNABLE_TYPE, classes = {  DataScopeAspect.class, SwaggerConfig.class}) })
public class BdmcAppApplication {
    public static void main(String[] args)  {
        SpringApplication.run(BdmcAppApplication.class, args);
        System.out.println("启动成功：Sa-Token配置如下：" + SaManager.getConfig());
        System.out.println("Bdmc-App启动成功");
    }
}
